package com.designPattern.proxy.cglib;

/**
 * @Auther: zwg
 * @Date: 2019/2/21 16:12
 * @Description:
 */
public class Test {

    public static void main(String[] args) {
        CGLibProxy cgLibProxy = CGLibProxy.getInstance();
        Calculator calculator = cgLibProxy.getProxy(CalculatorImpl.class);

        calculator.add(1,2);
    }
}
